package com.t18;

import java.io.File;
import java.io.FileInputStream;
import java.io.ObjectInputStream;

/**
 * Created by xuyiwei on 2018/9/4.
 */
public class ThawAlien {
    public static void main(String[] args) throws Exception {
        ObjectInputStream in = new ObjectInputStream(new FileInputStream(new File("X.file")));
        Object alien = in.readObject();
        System.out.println(alien.getClass());
    }
    /**
     * class com.t18.Alien
     */
}
